package net.maku.module.asset.convert;

import net.maku.module.asset.entity.AssetStorageEntity;
import net.maku.module.asset.vo.AssetStorageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_资产仓库
*
* @author    
*/
@Mapper
public interface AssetStorageConvert {
    AssetStorageConvert INSTANCE = Mappers.getMapper(AssetStorageConvert.class);

    AssetStorageEntity convert(AssetStorageVO vo);

    AssetStorageVO convert(AssetStorageEntity entity);

    List<AssetStorageVO> convertList(List<AssetStorageEntity> list);

}